package com.webapp.blog.web.service;

import com.webapp.blog.core.generic.GenericService;
import com.webapp.blog.web.model.Blog;

import java.util.List;

/**
 * Created by jinglun on 2016/8/6.
 */
public interface BlogService extends GenericService<Blog, Long> {

    List<Blog> showsBlogs();

    void addBlog(Blog blog);

    void deleteBlog(long id);

    void updateBlog(Blog blog);

    Blog blogdetail(long id);


}
